package cn.bocweb.spinning.model.Bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by chenchangxing on 16/8/17.
 */
public class MyClassNewBean implements Serializable {

    /**
     * msg : 获取成功
     * return_code : 0
     * match : {"title":"比赛成绩","record":[{"id":"15","title":"初试","best":{"id":"293989","score":"20","spend_time":"33","libtype":"15","testid":"A726402345854007","subtitle":"才疏学浅"}},{"id":"16","title":"复试","best":null}]}
     * record : [{"id":"all","title":"综合","right":27,"wrong":41,"total":1756,"blank":1688,"best":{"id":"293745","score":"35","spend_time":"59","libtype":"all","testid":"A726374996890376","subtitle":"才疏学浅"}},{"id":"2","title":"基础知识","right":7,"wrong":7,"total":67,"blank":53,"best":{"id":"1621","score":"45","spend_time":"61","libtype":"2","testid":"A317805677869227","subtitle":"半路出家"}},{"id":"3","title":"清棉及清梳联","right":0,"wrong":2,"total":118,"blank":116,"best":{"id":"1257","score":"5","spend_time":"44","libtype":"3","testid":"A304653974335674","subtitle":"一塌糊涂"}},{"id":"4","title":"梳棉","right":2,"wrong":2,"total":132,"blank":128,"best":null},{"id":"5","title":"原料与配棉","right":2,"wrong":1,"total":75,"blank":72,"best":null},{"id":"6","title":"并粗","right":1,"wrong":3,"total":233,"blank":229,"best":{"id":"296947","score":"50","spend_time":"59","libtype":"6","testid":"A727297203586825","subtitle":"半路出家"}},{"id":"7","title":"运转操作-细纱","right":5,"wrong":12,"total":103,"blank":86,"best":{"id":"1059","score":"40","spend_time":"50","libtype":"7","testid":"A229275683389082","subtitle":"半路出家"}},{"id":"8","title":"精梳及准备","right":1,"wrong":1,"total":94,"blank":92,"best":null},{"id":"9","title":"并捻","right":0,"wrong":0,"total":0,"blank":0,"best":null},{"id":"10","title":"新型纺纱","right":0,"wrong":0,"total":0,"blank":0,"best":null},{"id":"11","title":"自动络筒","right":0,"wrong":3,"total":90,"blank":87,"best":{"id":"1266","score":"5","spend_time":"12","libtype":"11","testid":"A304864666291516","subtitle":"一塌糊涂"}},{"id":"12","title":"工艺与质量","right":0,"wrong":0,"total":87,"blank":87,"best":{"id":"1464","score":"65","spend_time":"80","libtype":"12","testid":"A310047358932839","subtitle":"差强人意"}},{"id":"13","title":"空调除尘节能","right":0,"wrong":1,"total":97,"blank":96,"best":null},{"id":"14","title":"细纱","right":2,"wrong":3,"total":150,"blank":145,"best":{"id":"196787","score":"5","spend_time":"40","libtype":"14","testid":"A628873172903757","subtitle":"对牛弹琴"}},{"id":"17","title":"梳理大赛初赛","right":7,"wrong":6,"total":460,"blank":447,"best":null},{"id":"18","title":"复赛试题","right":0,"wrong":0,"total":50,"blank":50,"best":null}]
     */

    private String msg;
    private int return_code;
    /**
     * title : 比赛成绩
     * record : [{"id":"15","title":"初试","best":{"id":"293989","score":"20","spend_time":"33","libtype":"15","testid":"A726402345854007","subtitle":"才疏学浅"}},{"id":"16","title":"复试","best":null}]
     */

    private MatchBean match;
    /**
     * id : all
     * title : 综合
     * right : 27
     * wrong : 41
     * total : 1756
     * blank : 1688
     * best : {"id":"293745","score":"35","spend_time":"59","libtype":"all","testid":"A726374996890376","subtitle":"才疏学浅"}
     */

    private List<RecordBean> record;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public MatchBean getMatch() {
        return match;
    }

    public void setMatch(MatchBean match) {
        this.match = match;
    }

    public List<RecordBean> getRecord() {
        return record;
    }

    public void setRecord(List<RecordBean> record) {
        this.record = record;
    }

    public static class MatchBean {
        private String title;
        /**
         * id : 15
         * title : 初试
         * best : {"id":"293989","score":"20","spend_time":"33","libtype":"15","testid":"A726402345854007","subtitle":"才疏学浅"}
         */

        private List<RecordBean> record;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<RecordBean> getRecord() {
            return record;
        }

        public void setRecord(List<RecordBean> record) {
            this.record = record;
        }

        public static class RecordBean {
            private String id;
            private String title;
            /**
             * id : 293989
             * score : 20
             * spend_time : 33
             * libtype : 15
             * testid : A726402345854007
             * subtitle : 才疏学浅
             */

            private BestBean best;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public BestBean getBest() {
                return best;
            }

            public void setBest(BestBean best) {
                this.best = best;
            }

            public static class BestBean {
                private String id;
                private String score;
                private String spend_time;
                private String libtype;
                private String testid;
                private String subtitle;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getScore() {
                    return score;
                }

                public void setScore(String score) {
                    this.score = score;
                }

                public String getSpend_time() {
                    return spend_time;
                }

                public void setSpend_time(String spend_time) {
                    this.spend_time = spend_time;
                }

                public String getLibtype() {
                    return libtype;
                }

                public void setLibtype(String libtype) {
                    this.libtype = libtype;
                }

                public String getTestid() {
                    return testid;
                }

                public void setTestid(String testid) {
                    this.testid = testid;
                }

                public String getSubtitle() {
                    return subtitle;
                }

                public void setSubtitle(String subtitle) {
                    this.subtitle = subtitle;
                }
            }
        }
    }

    public static class RecordBean implements Serializable {
        private String id;
        private String title;
        private int right;
        private int wrong;
        private int total;
        private int blank;
        /**
         * id : 293745
         * score : 35
         * spend_time : 59
         * libtype : all
         * testid : A726374996890376
         * subtitle : 才疏学浅
         */

        private BestBean best;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getRight() {
            return right;
        }

        public void setRight(int right) {
            this.right = right;
        }

        public int getWrong() {
            return wrong;
        }

        public void setWrong(int wrong) {
            this.wrong = wrong;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getBlank() {
            return blank;
        }

        public void setBlank(int blank) {
            this.blank = blank;
        }

        public BestBean getBest() {
            return best;
        }

        public void setBest(BestBean best) {
            this.best = best;
        }

        public static class BestBean implements Serializable {
            private String id;
            private String score;
            private String spend_time;
            private String libtype;
            private String testid;
            private String subtitle;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getSpend_time() {
                return spend_time;
            }

            public void setSpend_time(String spend_time) {
                this.spend_time = spend_time;
            }

            public String getLibtype() {
                return libtype;
            }

            public void setLibtype(String libtype) {
                this.libtype = libtype;
            }

            public String getTestid() {
                return testid;
            }

            public void setTestid(String testid) {
                this.testid = testid;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }
        }
    }
}
